package com.bwie.service;

import com.bwie.service.Impl.FeignOrderServiceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "service-pay-user",fallback = FeignOrderServiceImpl.class)
public interface FeignOrderService {
    @PostMapping("/user/user/getUserById/{id}")
    public R getUserById(@PathVariable("id") Integer id);
}
